package com.cxhc.system.service.app;

import com.cxhc.system.domain.app.CmHouseholdInfo;

import java.util.List;

/**
 * 住户Service接口
 * 
 * @author Dhq
 * @date 2024-11-14
 */
public interface ICmHouseholdInfoService 
{
    /**
     * 查询住户
     * 
     * @param id 住户主键
     * @return 住户
     */
    public CmHouseholdInfo selectCmHouseholdInfoById(Long id);

    /**
     * 查询住户列表
     * 
     * @param cmHouseholdInfo 住户
     * @return 住户集合
     */
    public List<CmHouseholdInfo> selectCmHouseholdInfoList(CmHouseholdInfo cmHouseholdInfo);

    /**
     * 新增住户
     * 
     * @param cmHouseholdInfo 住户
     * @return 结果
     */
    public int insertCmHouseholdInfo(CmHouseholdInfo cmHouseholdInfo);

    /**
     * 修改住户
     * 
     * @param cmHouseholdInfo 住户
     * @return 结果
     */
    public int updateCmHouseholdInfo(CmHouseholdInfo cmHouseholdInfo);

    /**
     * 批量删除住户
     * 
     * @param ids 需要删除的住户主键集合
     * @return 结果
     */
    public int deleteCmHouseholdInfoByIds(Long[] ids);

    /**
     * 删除住户信息
     * 
     * @param id 住户主键
     * @return 结果
     */
    public int deleteCmHouseholdInfoById(Long id);
}
